package pl.edu.pb.wi.pwnography.model.form;

import javax.validation.constraints.NotNull;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

public class FileUploadForm {
    @NotNull(message = "Wybierz plik.")
    private CommonsMultipartFile file;
    @NotNull(message = "Wartość nie może być pusta.")
    private Boolean haveColumnNames;

    public CommonsMultipartFile getFile() {
	return file;
    }

    public void setFile(CommonsMultipartFile file) {
	this.file = file;
    }

    public Boolean getHaveColumnNames() {
	return haveColumnNames;
    }

    public void setHaveColumnNames(Boolean haveColumnNames) {
	this.haveColumnNames = haveColumnNames;
    }

}
